package com.atguigu.spzx.manager.mapper;

import com.atguigu.spzx.model.dto.system.SysUserDto;
import com.atguigu.spzx.model.entity.system.SysRole;
import com.atguigu.spzx.model.entity.system.SysUser;

import java.util.List;

/**
 * @ClassName: SysUserMapper
 * @Package: com.atguigu.spzx.manager.mapper
 * @Description 查询用户登录信息
 * @Author 孤妤
 * @Date: 2023/12/2 0:00
 */
public interface SysUserMapper {
    SysUser selectByUserName(String username);

    List<SysUser> selectByPage(SysUserDto sysUserDto);

    SysUser selectById(Long id);

    void updateSysUser(SysUser sysUser);

    void insert(SysUser sysUser);

    void deleteSysUser(Integer id);
}
